package com.ruoyi.asms.domain.vo;

import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;

/**
 * 导出故障信息的VO
 */
@Data
public class ExportFaultVo {
    @Excel(name = "资产名称")
    private String assetTypeName;

    @Excel(name = "故障描述")
    private String description;

    @Excel(name = "报修用户姓名")
    private String nickName;

    @Excel(name = "报修用户电话")
    private String phonenumber;

    @Excel(name = "报修时间", dateFormat = "yyyy-MM-dd")
    private Long createTime;

    @Excel(name = "报修地址")
    private String fullName;

    @Excel(name = "品牌名称")
    private String brandName;

    @Excel(name = "资产批次名称")
    private String projectName;

    @Excel(name = "资产型号名称")
    private String assetTemplateName;

    @Excel(name = "维护方名称")
    private String mDeptShortName;

    @Excel(name = "维护方负责人")
    private String mLeader;

    @Excel(name = "维护方联系电话")
    private String mPhone;

    @Excel(name = "所属方名称")
    private String uDeptShortName;

    @Excel(name = "所属方负责人")
    private String uLeader;

    @Excel(name = "所属方联系电话")
    private String uPhone;

    @Excel(name = "故障处理实时进度", readConverterExp = "1=故障报修阶段,2=故障派单阶段," +
            "3=故障处理阶段,4=故障处理结果确认阶段,5=投诉与反馈确认阶段")
    private Integer stage;

    @Excel(name = "故障处理人姓名")
    private String faultResolveUserName;

    @Excel(name = "故障处理人电话")
    private String faultResolveUserPhone;

    @Excel(name = "故障原因补充")
    private String assetFaultReason;

    @Excel(name = "故障解决办法")
    private String assetFaultSolution;

    @Excel(name = "服务效率分", readConverterExp = "1=一星,2=两星,3=三星,4=四星,5=五星")
    private Integer efficiencyScore;

    @Excel(name = "服务态度分", readConverterExp = "1=一星,2=两星,3=三星,4=四星,5=五星")
    private Integer attitudeScore;

    @Excel(name = "服务结果分", readConverterExp = "1=一星,2=两星,3=三星,4=四星,5=五星")
    private Integer qualityScore;

    @Excel(name = "评价内容")
    private String evaluationContent;
}

